package com.example.studentmanager.db;


import com.example.studentmanager.db.entity.Course;

import java.util.List;

public class CourseManager {
    public static boolean isExistsCourse(Course course) {
        return MyDBHelper.getInstances().isExistsCourse(course);
    }

    public static boolean addCourse(Course course) {
        return MyDBHelper.getInstances().addCourse(course);
    }

    public static List<Course> findAllCourse(){
        return MyDBHelper.getInstances().findAllCourse();
    }

}
